<meta charset="UTF-8">
<?php

require ('lib/init.php');
$num = 1;
// 判断用户是否登录
if (!acc()) {
    header('Location:login.php');
}
$sql ="select * from cat";
$cats = mGetAll($sql);

require(ROOT . '/view/admin/catlist.html');
?>
